﻿using System;

namespace Accounting.Model
{
    /// <summary>
    /// AccountingAttendance:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public partial class AccountingAttendance
    {
        public AccountingAttendance()
        { }

        #region Model

        private int _id;
        private int? _staffid;
        private string _attendancemonth;
        private string _insertdate;
        private int? _contractid;
        private string _legaldays;
        private string _factdays;
        private decimal? _normaladdtimes;
        private decimal? _weekendaddtimes;
        private decimal? _holidayaddtimes;

        /// <summary>
        ///
        /// </summary>
        public int ID
        {
            set { _id = value; }
            get { return _id; }
        }

        /// <summary>
        ///
        /// </summary>
        public int? StaffID
        {
            set { _staffid = value; }
            get { return _staffid; }
        }

        /// <summary>
        ///
        /// </summary>
        public string AttendanceMonth
        {
            set { _attendancemonth = value; }
            get { return _attendancemonth; }
        }

        /// <summary>
        ///
        /// </summary>
        public string InsertDate
        {
            set { _insertdate = value; }
            get { return _insertdate; }
        }

        /// <summary>
        ///
        /// </summary>
        public int? ContractID
        {
            set { _contractid = value; }
            get { return _contractid; }
        }

        /// <summary>
        ///
        /// </summary>
        public string LegalDays
        {
            set { _legaldays = value; }
            get { return _legaldays; }
        }

        /// <summary>
        ///
        /// </summary>
        public string FactDays
        {
            set { _factdays = value; }
            get { return _factdays; }
        }

        /// <summary>
        ///
        /// </summary>
        public decimal? NormalAddTimes
        {
            set { _normaladdtimes = value; }
            get { return _normaladdtimes; }
        }

        /// <summary>
        ///
        /// </summary>
        public decimal? WeekEndAddTimes
        {
            set { _weekendaddtimes = value; }
            get { return _weekendaddtimes; }
        }

        /// <summary>
        ///
        /// </summary>
        public decimal? HolidayAddTimes
        {
            set { _holidayaddtimes = value; }
            get { return _holidayaddtimes; }
        }

        #endregion Model
    }
}